<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>字体样式</title>
		<style type="text/css">
			p{
				font-family: arial,"微软雅黑","times new roman"; /*设置字体类型*/
				font-size: 20px;  /*设置字体大小为20px*/
				font-style: italic;  /*设置字体为斜体*/
				font-weight: 100;    /*设置字体粗细为100*/
			}
			/*p{
				font:italic 100 20px arial,"微软雅黑","times new roman";
			}*/
		</style>
	</head>
	<body>
		<p>将这段话的字体设置为arial，字号20px，字体风格为斜体，字体粗细为加粗</p>
	</body>
</html>
